package models.re;

import java.util.ArrayList;

public interface IData {

	public abstract ArrayList<IRelation> findAllInRelation(String type);

	public abstract ArrayList<IItem> findAllCertainNodes(String type);

	public abstract void CreateRelation(Long source, Long target, String type);

	public abstract ArrayList<ISimilarity> Similarity(Long sourceId, int limit);

	public abstract ArrayList<IRank> Rank(Long actorId, int limit);

	public abstract void CreateSimilarity(Long source, Long target, Double value);

	public abstract void CReateRank(Long source, Long target, Double value);
	
	public abstract ArrayList<ISimilarity> getAllSimilarities();
	
	public abstract ArrayList<String> getAllNodesIds();

	ArrayList<IRelation> findAllInRelation(String type, String id);

}